<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">
								<label class="col-sm-3 control-label">操作元名称：</label>
								<div class="col-sm-8">
								<input id="operationId" name="operationId" class="hidden" th:value="${operationDO.operationId}">
									<input id="operationName" name="operationName" class="form-control"
										type="text" th:value="${operationDO.operationName}" required="required">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">操作元类型：</label>
								<div class="col-sm-8">
									<label class="radio-inline"> 
										<input type="radio" id="operationType" name="operationType" value="1" th:field="*{operationDO.operationType}"/> 周期执行
									</label> 
									<label class="radio-inline"> 
									<input type="radio" id="operationType" name="operationType" value="2" th:field="*{operationDO.operationType}"/> 单次执行
									</label> 
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">cron表达式：</label>
								<div class="col-sm-8">
									<input id="cronExpression" name="cronExpression" th:value="${operationDO.cronExpression}"
										   class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">描述：</label>
								<div class="col-sm-8">
									<textarea id="description" name="description" class="form-control"
										>[[${operationDO.description}]]</textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-2 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script th:inline="javascript"> var ctx = [[@{/}]] ; </script>
	<script type="text/javascript" src="/js/app/metadata/operation/edit.js" th:src="@{/js/app/metadata/operation/edit.js}">
		
	</script>
</body>
</html>
